package com.zjg.dao;

import java.util.List;
import java.util.Map;

import com.common.entity.A_opinion;
import com.common.entity.PageBean;

public interface OpinionDao {
	public List<A_opinion> findByCondition(Map<String, Object> map);
	
	public PageBean<A_opinion> findPageByCondition(int pageIndex,int pageSize,Map<String, Object> map);
	
	public A_opinion findById(Integer id);
	
	public Object saveOpinion(A_opinion entity);
	
	public int deleteOpinion(Integer id);
	
	//另加的
	public int CountOpinion();
}
